package a.j.a;

import a.c.e;
import a.c.w;
import a.d.s;
import a.d.u;
import a.e.c;
import a.j.g;
import a.j.*;

import javax.swing.*;
import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.Dimension2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.awt.geom.Rectangle2D.Double;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

public class o
  extends od
  implements b, f, qe
{
  public static final Icon bb;
  public static final Icon cb;
  private boolean db;
  private Icon eb;
  private Icon fb;
  private boolean gb = false;
  private double hb = 100.0D;
  private double ib = 80.0D;
  private boolean jb = true;
  private boolean kb;
  private double lb = 15.0D;
  private double mb = 15.0D;
  private double nb = 15.0D;
  private double ob = 15.0D;
  private double pb = 0.0D;
  private double qb = 0.0D;
  private double rb = 0.0D;
  private double sb = 0.0D;
  private jg tb;
  private boolean ub = false;
  private boolean vb = true;
  static Class wb;
  public static int xb;
  
  public o()
  {
    ab();
  }
  
  public o(ld paramld)
  {
    super(paramld);
    if (i == 0) {
      if ((paramld instanceof f))
      {
        a((f)paramld);
        if (i == 0) {
          if (!j.u) {
            return;
          }
        }
      }
      else
      {
        this.eb = bb;
      }
    }
    this.fb = cb;
  }
  
  private void a(f paramf)
  {
    int i = j.v;
    Object localObject;
    if (i == 0)
    {
      if ((paramf instanceof o))
      {
        localObject = (o)paramf;
        this.hb = ((o)localObject).hb;
        this.ib = ((o)localObject).ib;
        this.eb = ((o)localObject).eb;
        this.fb = ((o)localObject).fb;
        this.gb = ((o)localObject).gb;
        this.tb = ((o)localObject).tb;
        this.lb = ((o)localObject).lb;
        this.mb = ((o)localObject).mb;
        this.nb = ((o)localObject).nb;
        this.ob = ((o)localObject).ob;
        this.pb = ((o)localObject).pb;
        this.qb = ((o)localObject).qb;
        this.rb = ((o)localObject).rb;
        this.sb = ((o)localObject).sb;
        this.ub = ((o)localObject).ub;
        this.vb = ((o)localObject).vb;
        if (i != 0) {
          break label258;
        }
        this.kb = ((o)localObject).kb;
        if (!j.u) {}
      }
      else
      {
        this.gb = paramf.h();
      }
    }
    else
    {
      localObject = paramf.i();
      this.lb = ((u)localObject).b;
      this.mb = ((u)localObject).d;
      this.nb = ((u)localObject).c;
      this.ob = ((u)localObject).e;
      u localu = paramf.j();
      this.pb = localu.b;
      this.qb = localu.d;
      this.rb = localu.c;
      this.sb = localu.e;
    }
    label258:
    if (i == 0)
    {
      if (this.tb != null) {
        this.tb = ((jg)this.tb.clone());
      }
    }
    else {
      this.tb.a(this);
    }
  }
  
  private void ab()
  {
    jg localjg = w();
    localjg.d((byte)102);
    localjg.a(16);
    localjg.b(Color.darkGray);
    localjg.a(Color.white);
    localjg.f((byte)2);
    localjg.g((byte)1);
    localjg.f(0.0D);
    this.eb = bb;
    this.fb = cb;
  }
  
  public ld a(ld paramld)
  {
    o localo = new o(paramld);
    if (!(paramld instanceof f)) {
      localo.a(this);
    }
    return localo;
  }
  
  public u g()
  {
    int i = j.v;
    boolean bool = j.u;
    double d1 = 0.0D;
    double d2 = 0.0D;
    double d3 = 0.0D;
    double d4 = 0.0D;
    if ((i != 0) || (x() > 0))
    {
      jg localjg = w();
      if ((i != 0) || (localjg.B()))
      {
        if (i == 0) {}
        switch (localjg.C())
        {
        case 102: 
        case 117: 
        case 118: 
          if (i == 0)
          {
            if (localjg.Z() == 2) {
              break label324;
            }
            if (i != 0) {}
          }
          else
          {
            if (localjg.Z() == 3) {
              break label324;
            }
            d1 = localjg.T();
          }
          if ((i == 0) && (!bool)) {}
          break;
        case 101: 
        case 119: 
        case 120: 
          if (i == 0)
          {
            if (localjg.Z() == 2) {
              break label324;
            }
            if (i != 0) {}
          }
          else
          {
            if (localjg.Z() == 3) {
              break label324;
            }
            d2 = localjg.T();
          }
          if ((i == 0) && (!bool)) {}
          break;
        case 115: 
          if (i == 0)
          {
            if (localjg.Z() == 1) {
              break label324;
            }
            if (i != 0) {
              break;
            }
          }
          else
          {
            if (localjg.Z() == 3) {
              break label324;
            }
            d3 = localjg.S();
          }
        case 116: 
          if (((i != 0) || (bool)) && ((i != 0) || ((localjg.Z() != 1) && ((i != 0) || (localjg.Z() != 3))))) {
            d4 = localjg.S();
          }
          break;
        }
      }
    }
    label324:
    return new u(this.lb + d1, this.nb + d3, this.mb + d2, this.ob + d4);
  }
  
  public void a(Insets paramInsets)
  {
    a(new u(paramInsets));
  }
  
  public void a(u paramu)
  {
    c(paramu);
  }
  
  public boolean e()
  {
    int i = j.v;
    if ((i != 0) || (this.jb)) {
      if (i != 0) {}
    }
    return !this.gb;
  }
  
  public void a(boolean paramBoolean)
  {
    int i = j.v;
    if (i == 0) {
      if ((!this.jb) && ((i != 0) || (paramBoolean)))
      {
        if (i == 0)
        {
          if (!this.gb)
          {
            if (i != 0) {
              break label239;
            }
            if (!jb())
            {
              Rectangle2D localRectangle2D = lb();
              double d1 = localRectangle2D.getX() + localRectangle2D.getWidth();
              double d2 = localRectangle2D.getY() + localRectangle2D.getHeight();
              this.sb = ((i != 0) || (this.y + this.A > d1) ? this.y + this.A - d1 : 0.0D);
              this.pb = ((i != 0) || (this.z < localRectangle2D.getY()) ? localRectangle2D.getY() - this.z : 0.0D);
              this.qb = ((i != 0) || (this.z + this.B > d2) ? this.z + this.B - d2 : 0.0D);
              this.rb = ((i != 0) || (this.y < localRectangle2D.getX()) ? localRectangle2D.getX() - this.y : 0.0D);
            }
          }
          this.jb = paramBoolean;
          if (i != 0) {
            break label243;
          }
          kb();
        }
        if (!j.u) {
          label239:
          return;
        }
      }
    }
    label243:
    this.jb = paramBoolean;
  }
  
  public Rectangle2D f()
  {
    return lb();
  }
  
  public void bb()
  {
    kb();
  }
  
  public void b(Insets paramInsets)
  {
    b(new u(paramInsets));
  }
  
  public void b(u paramu)
  {
    this.mb = paramu.d;
    this.lb = paramu.b;
    this.nb = paramu.c;
    this.ob = paramu.e;
    kb();
  }
  
  public u i()
  {
    return new u(this.lb, this.nb, this.mb, this.ob);
  }
  
  public void c(Insets paramInsets)
  {
    c(new u(paramInsets));
  }
  
  public void c(u paramu)
  {
    this.pb = paramu.b;
    this.qb = paramu.d;
    this.sb = paramu.e;
    this.rb = paramu.c;
    kb();
  }
  
  public u j()
  {
    return new u(this.pb, this.rb, this.qb, this.sb);
  }
  
  public Icon cb()
  {
    return this.eb;
  }
  
  public void a(Icon paramIcon)
  {
    this.eb = paramIcon;
    if ((j.v != 0) || (this.gb)) {
      ib().a(this.eb);
    }
  }
  
  public Icon db()
  {
    return this.fb;
  }
  
  public void b(Icon paramIcon)
  {
    this.fb = paramIcon;
    if ((j.v != 0) || (!this.gb)) {
      ib().a(this.fb);
    }
  }
  
  public double eb()
  {
    return this.hb;
  }
  
  public void h(double paramDouble)
  {
    this.hb = paramDouble;
  }
  
  public double fb()
  {
    return this.ib;
  }
  
  public void i(double paramDouble)
  {
    this.ib = paramDouble;
  }
  
  public void b(boolean paramBoolean)
  {
    int i = j.v;
    ib().a(paramBoolean ? this.eb : this.fb);
    if (i == 0)
    {
      if (this.gb == paramBoolean) {
        return;
      }
      this.gb = paramBoolean;
      if (i != 0) {}
    }
    else if (paramBoolean)
    {
      qe localqe = L();
      if (i == 0)
      {
        if (localqe != null)
        {
          double d1 = localqe.k().b();
          double d2 = localqe.k().c();
          if (i == 0) {
            if (this.hb < d1) {
              this.hb = d1;
            }
          }
          if (i != 0) {
            break label157;
          }
          if (this.ib < d2) {
            this.ib = d2;
          }
        }
        super.a(this.y, this.z, this.hb, this.ib);
      }
      else
      {
        if (i != 0) {
          break label180;
        }
      }
      if (!j.u) {
        label157:
        return;
      }
    }
    else
    {
      this.hb = this.A;
      this.ib = this.B;
      qb();
    }
    label180:
    kb();
  }
  
  public boolean h()
  {
    return this.gb;
  }
  
  public void f(boolean paramBoolean)
  {
    this.ub = paramBoolean;
  }
  
  public boolean gb()
  {
    return this.ub;
  }
  
  public void c(Graphics2D paramGraphics2D)
  {
    if (j.v == 0)
    {
      if (this.db) {
        kb();
      }
      super.c(paramGraphics2D);
    }
    d(paramGraphics2D, true);
  }
  
  protected void a(Graphics2D paramGraphics2D)
  {
    int j = j.v;
    boolean bool = j.u;
    if (j == 0) {
      if (pb()) {
        kb();
      }
    }
    j localj = ob();
    if (localj != null)
    {
      Color localColor1 = o();
      if (localColor1 != null)
      {
        if (j != 0) {
          break label161;
        }
        if (this.vb)
        {
          Color localColor2 = localColor1;
          int i = localj.q(n());
          if (j == 0)
          {
            if (i > 0) {
              localColor2 = new Color(Math.max(localColor1.getRed() - 20 * i, 0), Math.max(localColor1.getGreen() - 20 * i, 0), Math.max(localColor1.getBlue() - 20 * i, 0), localColor1.getAlpha());
            }
            a(localColor2);
            k(paramGraphics2D);
            a(localColor1);
          }
          if (j != 0) {
            break label169;
          }
          if (!bool) {
            break label165;
          }
        }
      }
      label161:
      k(paramGraphics2D);
      label165:
      label169:
      if (j == 0)
      {
        if (h())
        {
          if (j != 0) {
            break label207;
          }
          if (gb()) {
            l(paramGraphics2D);
          }
        }
        if (j != 0) {
          break label212;
        }
        d(paramGraphics2D, false);
      }
      if (!bool) {
        label207:
        return;
      }
    }
    label212:
    k(paramGraphics2D);
  }
  
  protected void d(Graphics2D paramGraphics2D, boolean paramBoolean)
  {
    if (e(paramGraphics2D, paramBoolean)) {
      ib().a(paramGraphics2D);
    }
  }
  
  private static boolean e(Graphics2D paramGraphics2D, boolean paramBoolean)
  {
    int i = j.v;
    Object localObject = paramGraphics2D.getRenderingHint(kg.o);
    if (i == 0) {
      if (paramBoolean) {
        return kg.q.equals(localObject);
      }
    }
    if (i == 0) {}
    return !kg.r.equals(localObject);
  }
  
  protected void k(Graphics2D paramGraphics2D)
  {
    super.a(paramGraphics2D);
  }
  
  public void g(boolean paramBoolean)
  {
    this.vb = paramBoolean;
  }
  
  public boolean hb()
  {
    return this.vb;
  }
  
  public void e(jg paramjg)
  {
    this.tb = paramjg;
    paramjg.a(this);
  }
  
  public jg ib()
  {
    if (j.v == 0) {
      if (this.tb == null)
      {
        this.tb = new jg();
        this.tb.d((byte)117);
        this.tb.f(1.0D);
        this.tb.a(this);
      }
    }
    return this.tb;
  }
  
  public Rectangle2D.Double O()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.O();
  }
  
  private boolean jb()
  {
    int i = j.v;
    e locale = n();
    if (locale == null) {
      return true;
    }
    j localj = ob();
    if ((i != 0) || (localj != null)) {
      if (i != 0) {
        break label46;
      }
    }
    label46:
    return !localj.r(locale).e();
  }
  
  protected void kb()
  {
    int i = j.v;
    if (i == 0)
    {
      if (!this.jb) {
        return;
      }
      if (i != 0) {}
    }
    else if (!this.kb)
    {
      if (i == 0)
      {
        if (!this.gb) {
          if (i != 0) {
            break label56;
          }
        }
      }
      else {
        if (!jb()) {
          break label55;
        }
      }
      return;
    }
    label55:
    label56:
    Rectangle2D localRectangle2D = mb();
    b(localRectangle2D.getWidth(), localRectangle2D.getHeight());
    a(localRectangle2D.getX(), localRectangle2D.getY());
    this.db = false;
    qe localqe = L();
    if (localqe != null) {
      localRectangle2D.setFrame(localRectangle2D.getX(), localRectangle2D.getY(), Math.max(localRectangle2D.getWidth(), localqe.k().b()), Math.max(localRectangle2D.getHeight(), localqe.k().c()));
    }
    if (i == 0)
    {
      if (this.kb)
      {
        Dimension2D localDimension2D = rb();
        localRectangle2D.setFrame(localRectangle2D.getX(), localRectangle2D.getY(), Math.max(localRectangle2D.getWidth(), localDimension2D.getWidth()), Math.max(localRectangle2D.getHeight(), localDimension2D.getHeight()));
      }
      b(localRectangle2D.getWidth(), localRectangle2D.getHeight());
      a(localRectangle2D.getX(), localRectangle2D.getY());
    }
    this.db = false;
  }
  
  protected Rectangle2D lb()
  {
    int i = j.v;
    u localu = g();
    if ((i != 0) || ((!this.gb) && ((i != 0) || (!jb()))))
    {
      Rectangle2D localRectangle2D = nb();
      localRectangle2D.setFrame(localRectangle2D.getX() - localu.c, localRectangle2D.getY() - localu.b, localRectangle2D.getWidth() + localu.c + localu.e, localRectangle2D.getHeight() + localu.b + localu.d);
      return localRectangle2D;
    }
    return new Rectangle2D.Double(this.y, this.z, localu.c + localu.e, localu.b + localu.d);
  }
  
  protected Rectangle2D mb()
  {
    int i = j.v;
    if ((i != 0) || ((!this.gb) && ((i != 0) || (!jb()))))
    {
      Rectangle2D localRectangle2D = lb();
      localRectangle2D.setFrame(localRectangle2D.getX() - this.rb, localRectangle2D.getY() - this.pb, localRectangle2D.getWidth() + this.rb + this.sb, localRectangle2D.getHeight() + this.pb + this.qb);
      return localRectangle2D;
    }
    return new Rectangle2D.Double(this.y, this.z, this.A, this.B);
  }
  
  protected Rectangle2D nb()
  {
    int i = j.v;
    boolean bool = j.u;
    Rectangle2D.Double localDouble = new Rectangle2D.Double(-1.0D, -1.0D, -1.0D, -1.0D);
    j localj = ob();
    if (localj != null)
    {
      e locale = n();
      g localg = (g)locale.g();
      if ((i != 0) || (localj.m(locale)))
      {
        w localw = localj.r(locale);
        do
        {
          if (!localw.e()) {
            break;
          }
          localg.w(localw.d()).b(localDouble);
          localw.f();
        } while (!bool);
      }
    }
    return localDouble;
  }
  
  protected j ob()
  {
    e locale = n();
    if (j.v == 0) {
      if (locale == null) {
        return null;
      }
    }
    return j.a(locale.g());
  }
  
  protected boolean pb()
  {
    return this.db;
  }
  
  protected void qb()
  {
    this.db = true;
  }
  
  protected void l(Graphics2D paramGraphics2D)
  {
    int i = j.v;
    boolean bool = j.u;
    j localj = ob();
    if (localj == null) {
      return;
    }
    e locale = n();
    if (locale != null)
    {
      if (i != 0) {
        break label45;
      }
      if (localj.l(locale)) {}
    }
    else
    {
      return;
    }
    label45:
    g localg = (g)localj.o(locale);
    double d1 = d() - this.lb - this.mb;
    double d2 = c() - this.nb - this.ob;
    double d3 = a() + this.nb + 0.5D * d2;
    double d4 = b() + this.lb + 0.5D * d1;
    if (i == 0) {
      if (x() > 0)
      {
        jg localjg = w();
        if (i != 0) {
          break label416;
        }
        if (localjg.B())
        {
          if (i != 0) {
            break label416;
          }
          switch (localjg.D())
          {
          case 1: 
            if (i == 0) {
              switch (localjg.C())
              {
              case 102: 
              case 117: 
              case 118: 
                d1 -= localjg.T();
                d4 += localjg.T() / 2.0D;
                if (i == 0) {
                  if (!bool) {
                    break;
                  }
                }
                break;
              case 101: 
              case 119: 
              case 120: 
                d1 -= localjg.T();
                d4 -= localjg.T() / 2.0D;
                if (i == 0) {
                  if (!bool) {
                    break;
                  }
                }
                break;
              case 115: 
                d2 -= localjg.S();
                d3 += localjg.S() / 2.0D;
                if (i == 0) {
                  if (!bool) {
                    break;
                  }
                }
                break;
              case 116: 
                d2 -= localjg.S();
                d3 -= localjg.S() / 2.0D;
              }
            }
            break;
          }
        }
      }
    }
    label416:
    if (i == 0)
    {
      if (d2 > 5.0D) {
        if (i != 0) {
          break label440;
        }
      }
    }
    else {
      if (d1 > 5.0D) {
        break label439;
      }
    }
    return;
    label439:
    label440:
    double d5 = 1.0D;
    double d6 = 1.0D;
    double d7 = 1.0D;
    AffineTransform localAffineTransform = paramGraphics2D.getTransform();
    paramGraphics2D.translate(d3, d4);
    Rectangle localRectangle = localg.d();
    d5 = d2 / localRectangle.getWidth();
    d6 = d1 / localRectangle.getHeight();
    d7 = Math.min(d5, d6);
    paramGraphics2D.scale(d7, d7);
    paramGraphics2D.translate(-localRectangle.getCenterX(), -localRectangle.getCenterY());
    double d8 = d7 * localAffineTransform.getScaleX();
    Double localDouble = (Double)paramGraphics2D.getRenderingHint(kg.y);
    mb localmb = new mb();
    if (i == 0)
    {
      if (localDouble != null)
      {
        if (i == 0) {
          if (d8 <= localDouble.doubleValue()) {
            break label597;
          }
        }
      }
      else {
        localmb.a(paramGraphics2D, localg);
      }
    }
    else if (i != 0) {
      return;
    }
    if (bool) {
      label597:
      if ((localDouble == null) || (4.0D * d8 > localDouble.doubleValue())) {
        localmb.b(paramGraphics2D, localg);
      }
    }
    paramGraphics2D.setTransform(localAffineTransform);
  }
  
  public double b()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.b();
  }
  
  public double A()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.A();
  }
  
  public boolean f(double paramDouble1, double paramDouble2)
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.f(paramDouble1, paramDouble2);
  }
  
  public double d()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.d();
  }
  
  public double a()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.a();
  }
  
  public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
  }
  
  public double c()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.c();
  }
  
  public double B()
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.B();
  }
  
  public s k()
  {
    int i = j.v;
    boolean bool = j.u;
    u localu = g();
    double d1 = localu.c + localu.e;
    double d2 = localu.b + localu.d;
    if (i == 0) {
      if (sb())
      {
        Dimension2D localDimension2D = rb();
        locals = new s(Math.max(d1, localDimension2D.getWidth()), Math.max(d2, localDimension2D.getHeight()));
        if ((i == 0) && (!bool)) {
          break label132;
        }
      }
    }
    if (this.gb)
    {
      if (i != 0) {
        break label130;
      }
      locals = new s(1.0D, 1.0D);
      if (!bool) {
        break label132;
      }
    }
    label130:
    s locals = new s(d1, d2);
    label132:
    return locals;
  }
  
  public s l()
  {
    return new s(2147483647.0D, 2147483647.0D);
  }
  
  protected Dimension2D rb()
  {
    int i = j.v;
    boolean bool = j.u;
    Dimension localDimension = new Dimension();
    if ((i != 0) || (x() > 0))
    {
      jg localjg1 = w();
      byte b = localjg1.Z();
      double d1;
      double d2;
      if (i == 0) {
        if (b == 4)
        {
          d1 = localjg1.g();
          d2 = localjg1.k();
          if ((i == 0) && (!bool)) {
            break label144;
          }
        }
      }
      if (b != 0)
      {
        d3 = localjg1.g();
        d4 = localjg1.k();
        localjg1.h((byte)0);
        localjg1.r();
        d1 = localjg1.g();
        d2 = localjg1.k();
        localjg1.h(b);
        localjg1.a(d3, d4);
        if (i != 0) {
          break label150;
        }
        if (!bool) {}
      }
      else
      {
        d1 = localjg1.g();
        d2 = localjg1.k();
      }
      label144:
      double d3 = 0.0D;
      double d4 = 0.0D;
      label150:
      jg localjg2 = ib();
      if (i == 0)
      {
        if (localjg2 != null) {
          d3 = localjg2.S();
        }
      }
      else {
        d4 = localjg2.T();
      }
      localDimension.setSize(d1 + d3, Math.max(d2, d4));
    }
    return localDimension;
  }
  
  protected void d(jg paramjg)
  {
    int i = j.v;
    if (((i != 0) || (this.kb)) && (((x() > 0) && ((i == 0) && (paramjg == w()))) || (paramjg == ib()))) {
      qb();
    }
  }
  
  public boolean b(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    int i = j.v;
    if (i == 0) {
      if (!h()) {
        this.db = true;
      }
    }
    if (i == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.b(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
  }
  
  public void b(Rectangle2D paramRectangle2D)
  {
    int i = j.v;
    if (i == 0)
    {
      if (!h()) {
        this.db = true;
      }
      if (i != 0) {}
    }
    else if (this.db)
    {
      kb();
    }
    super.b(paramRectangle2D);
  }
  
  public boolean a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, Point2D paramPoint2D)
  {
    if (j.v == 0) {
      if (this.db) {
        kb();
      }
    }
    return super.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4, paramPoint2D);
  }
  
  public void a(ObjectOutputStream paramObjectOutputStream)
    throws IOException
  {
    int i = j.v;
    boolean bool = j.u;
    paramObjectOutputStream.writeByte(4);
    super.a(paramObjectOutputStream);
    if (i == 0) {
      if (h())
      {
        paramObjectOutputStream.writeDouble(this.A);
        paramObjectOutputStream.writeDouble(this.B);
        if (i == 0) {
          if (!bool) {
            break label69;
          }
        }
      }
      else
      {
        paramObjectOutputStream.writeDouble(this.hb);
      }
    }
    paramObjectOutputStream.writeDouble(this.ib);
    label69:
    if (this.fb == cb)
    {
      paramObjectOutputStream.writeBoolean(true);
      if (i == 0) {
        if (!bool) {
          break label105;
        }
      }
    }
    else
    {
      paramObjectOutputStream.writeBoolean(false);
    }
    paramObjectOutputStream.writeObject(this.fb);
    label105:
    if (this.eb == bb)
    {
      paramObjectOutputStream.writeBoolean(true);
      if (i != 0) {
        return;
      }
      if (!bool) {}
    }
    else
    {
      paramObjectOutputStream.writeBoolean(false);
      paramObjectOutputStream.writeObject(this.eb);
    }
    paramObjectOutputStream.writeBoolean(this.gb);
    paramObjectOutputStream.writeBoolean(this.ub);
    paramObjectOutputStream.writeDouble(this.lb);
    paramObjectOutputStream.writeDouble(this.mb);
    paramObjectOutputStream.writeDouble(this.nb);
    paramObjectOutputStream.writeDouble(this.ob);
    paramObjectOutputStream.writeDouble(this.pb);
    paramObjectOutputStream.writeDouble(this.qb);
    paramObjectOutputStream.writeDouble(this.rb);
    paramObjectOutputStream.writeDouble(this.sb);
    paramObjectOutputStream.writeBoolean(this.vb);
    paramObjectOutputStream.writeBoolean(this.kb);
  }
  
  public void a(ObjectInputStream paramObjectInputStream)
    throws IOException, ClassNotFoundException
  {
    int i = j.v;
    boolean bool2 = j.u;
    byte b = paramObjectInputStream.readByte();
    super.a(paramObjectInputStream);
    if (i == 0) {}
    boolean bool1;
    switch (b)
    {
    case 0: 
      this.hb = paramObjectInputStream.readDouble();
      this.ib = paramObjectInputStream.readDouble();
      this.fb = ((Icon)paramObjectInputStream.readObject());
      this.eb = ((Icon)paramObjectInputStream.readObject());
      this.gb = paramObjectInputStream.readBoolean();
      this.ub = paramObjectInputStream.readBoolean();
      if (i == 0) {
        if (!bool2) {
          return;
        }
      }
    case 1: 
      this.hb = paramObjectInputStream.readDouble();
      this.ib = paramObjectInputStream.readDouble();
      this.fb = ((Icon)paramObjectInputStream.readObject());
      this.eb = ((Icon)paramObjectInputStream.readObject());
      this.gb = paramObjectInputStream.readBoolean();
      this.ub = paramObjectInputStream.readBoolean();
      this.lb = paramObjectInputStream.readDouble();
      this.mb = paramObjectInputStream.readDouble();
      this.nb = paramObjectInputStream.readDouble();
      this.ob = paramObjectInputStream.readDouble();
      this.pb = paramObjectInputStream.readDouble();
      this.qb = paramObjectInputStream.readDouble();
      this.rb = paramObjectInputStream.readDouble();
      this.sb = paramObjectInputStream.readDouble();
      if (i == 0) {
        if (!bool2) {
          return;
        }
      }
    case 2: 
      this.hb = paramObjectInputStream.readDouble();
      this.ib = paramObjectInputStream.readDouble();
      this.fb = ((Icon)paramObjectInputStream.readObject());
      this.eb = ((Icon)paramObjectInputStream.readObject());
      bool1 = paramObjectInputStream.readBoolean();
      this.ub = paramObjectInputStream.readBoolean();
      this.lb = paramObjectInputStream.readDouble();
      this.mb = paramObjectInputStream.readDouble();
      this.nb = paramObjectInputStream.readDouble();
      this.ob = paramObjectInputStream.readDouble();
      this.pb = paramObjectInputStream.readDouble();
      this.qb = paramObjectInputStream.readDouble();
      this.rb = paramObjectInputStream.readDouble();
      this.sb = paramObjectInputStream.readDouble();
      this.vb = paramObjectInputStream.readBoolean();
      b(bool1);
      if (i == 0) {
        if (!bool2) {
          return;
        }
      }
    case 3: 
      this.hb = paramObjectInputStream.readDouble();
      this.ib = paramObjectInputStream.readDouble();
      this.fb = ((Icon)paramObjectInputStream.readObject());
      this.eb = ((Icon)paramObjectInputStream.readObject());
      bool1 = paramObjectInputStream.readBoolean();
      this.ub = paramObjectInputStream.readBoolean();
      this.lb = paramObjectInputStream.readDouble();
      this.mb = paramObjectInputStream.readDouble();
      this.nb = paramObjectInputStream.readDouble();
      this.ob = paramObjectInputStream.readDouble();
      this.pb = paramObjectInputStream.readDouble();
      this.qb = paramObjectInputStream.readDouble();
      this.rb = paramObjectInputStream.readDouble();
      this.sb = paramObjectInputStream.readDouble();
      this.vb = paramObjectInputStream.readBoolean();
      this.kb = paramObjectInputStream.readBoolean();
      b(bool1);
      if (i == 0) {
        if (!bool2) {
          return;
        }
      }
    case 4: 
      this.hb = paramObjectInputStream.readDouble();
      if (i == 0)
      {
        this.ib = paramObjectInputStream.readDouble();
        if (paramObjectInputStream.readBoolean())
        {
          this.fb = cb;
          if (i != 0) {
            break label596;
          }
          if (!bool2) {
            break label592;
          }
        }
      }
      this.fb = ((Icon)paramObjectInputStream.readObject());
      label592:
      label596:
      if (i == 0)
      {
        if (paramObjectInputStream.readBoolean()) {
          this.eb = bb;
        }
      }
      else
      {
        if (i != 0) {
          break label636;
        }
        if (!bool2) {
          break label632;
        }
      }
      this.eb = ((Icon)paramObjectInputStream.readObject());
      label632:
      label636:
      bool1 = paramObjectInputStream.readBoolean();
      this.ub = paramObjectInputStream.readBoolean();
      this.lb = paramObjectInputStream.readDouble();
      this.mb = paramObjectInputStream.readDouble();
      this.nb = paramObjectInputStream.readDouble();
      this.ob = paramObjectInputStream.readDouble();
      this.pb = paramObjectInputStream.readDouble();
      this.qb = paramObjectInputStream.readDouble();
      this.rb = paramObjectInputStream.readDouble();
      this.sb = paramObjectInputStream.readDouble();
      this.vb = paramObjectInputStream.readBoolean();
      this.kb = paramObjectInputStream.readBoolean();
      b(bool1);
      if (!bool2) {
        return;
      }
      break;
    }
    throw new c((byte)4, b);
  }
  
  public void b(double paramDouble1, double paramDouble2)
  {
    super.b(paramDouble1, paramDouble2);
    if ((j.v != 0) || (this.tb != null)) {
      this.tb.p();
    }
  }
  
  public boolean sb()
  {
    return this.kb;
  }
  
  public void h(boolean paramBoolean)
  {
    this.kb = paramBoolean;
    qb();
  }
  
  static Class c(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
  
  static
  {
    Class localClass = wb == null ? (o.wb = c("a.j.a.b")) : wb;
    Object localObject1 = null;
    Object localObject2 = null;
    try
    {
      localObject1 = new ImageIcon(localClass.getResource("resource/default_closed_group_icon.gif"));
      localObject2 = new ImageIcon(localClass.getResource("resource/default_open_group_icon.gif"));
    }
    catch (Exception localException) {}
    if (localObject1 == null) {
      localObject1 = new Icon()
      {
        public void paintIcon(Component paramAnonymousComponent, Graphics paramAnonymousGraphics, int paramAnonymousInt1, int paramAnonymousInt2)
        {
          Color localColor = paramAnonymousGraphics.getColor();
          paramAnonymousGraphics.setColor(Color.white);
          paramAnonymousGraphics.fillRect(paramAnonymousInt1 + 1, paramAnonymousInt2 + 1, 14, 14);
          paramAnonymousGraphics.setColor(Color.black);
          paramAnonymousGraphics.drawLine(paramAnonymousInt1 + 8, paramAnonymousInt2 + 4, paramAnonymousInt1 + 8, paramAnonymousInt2 + 12);
          paramAnonymousGraphics.drawLine(paramAnonymousInt1 + 4, paramAnonymousInt2 + 8, paramAnonymousInt1 + 12, paramAnonymousInt2 + 8);
          paramAnonymousGraphics.drawRect(paramAnonymousInt1 + 1, paramAnonymousInt2 + 1, 14, 14);
          paramAnonymousGraphics.setColor(localColor);
        }
        
        public int getIconWidth()
        {
          return 16;
        }
        
        public int getIconHeight()
        {
          return 16;
        }
      };
    }
    if (localObject2 == null) {
      localObject2 = new Icon()
      {
        public void paintIcon(Component paramAnonymousComponent, Graphics paramAnonymousGraphics, int paramAnonymousInt1, int paramAnonymousInt2)
        {
          Color localColor = paramAnonymousGraphics.getColor();
          paramAnonymousGraphics.setColor(Color.white);
          paramAnonymousGraphics.fillRect(paramAnonymousInt1 + 1, paramAnonymousInt2 + 1, 14, 14);
          paramAnonymousGraphics.setColor(Color.black);
          paramAnonymousGraphics.drawLine(paramAnonymousInt1 + 4, paramAnonymousInt2 + 8, paramAnonymousInt1 + 12, paramAnonymousInt2 + 8);
          paramAnonymousGraphics.drawRect(paramAnonymousInt1 + 1, paramAnonymousInt2 + 1, 14, 14);
          paramAnonymousGraphics.setColor(localColor);
        }
        
        public int getIconWidth()
        {
          return 16;
        }
        
        public int getIconHeight()
        {
          return 16;
        }
      };
    }
    bb = (Icon)localObject1;
    cb = (Icon)localObject2;
  }
  
  public static class c_
    implements i
  {
    boolean a = true;
    boolean b;
    public static int c;
    
    public boolean a()
    {
      return this.b;
    }
    
    public void a(boolean paramBoolean)
    {
      this.b = paramBoolean;
    }
    
    public void a(q paramq)
    {
      int i = j.v;
      j localj = (j)paramq.getSource();
      if (i == 0) {
        if (paramq.b() == 6) {
          this.a = localj.n((e)paramq.e());
        }
      }
      if (((i == 0) && ((j.u) && (i != 0))) || (paramq.b() == 4))
      {
        e locale = (e)paramq.e();
        g localg = (g)locale.g();
        ld localld = localg.w(locale);
        if (!localj.n(locale))
        {
          f localf = null;
          if (i == 0) {
            if ((localld instanceof f))
            {
              localf = (f)localld;
              localf.b(localj.l(locale));
              return;
            }
          }
          if ((i != 0) || ((localld instanceof qd)))
          {
            qd localqd = (qd)localld;
            boolean bool = localqd.H();
            if (i == 0)
            {
              if (localj.m(locale))
              {
                localld = localqd.f(0);
                localqd.d(localld);
                if (i == 0) {
                  if (a()) {
                    localqd.e(bool);
                  }
                }
                if ((i != 0) || ((localld instanceof f)))
                {
                  localf = (f)localld;
                  localf.b(false);
                }
              }
              else
              {
                localld = localqd.f(1);
                localqd.d(localld);
              }
            }
            else
            {
              if (i == 0) {
                if (a()) {
                  localqd.e(bool);
                }
              }
              if (i == 0) {
                if (!this.a) {
                  localld.a(localqd.f(0).a(), localqd.f(0).b());
                }
              }
              if ((i != 0) || ((localld instanceof f)))
              {
                localf = (f)localld;
                localf.b(true);
              }
            }
          }
        }
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.a.o

 * JD-Core Version:    0.7.0.1

 */